<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>模型管理</title>
    <jsp:include page="/assets/common-css.jsp" />
    <link rel="stylesheet" type="text/css"
          href="<%=request.getContextPath()%>/model/css/model-listPage.css" />
</head>
<body>
<div class="m-portlet m-portlet--mobile">
    <div class="m-portlet__head">
        <div class="m-portlet__head-caption">
            <div class="m-portlet__head-title">
                <h3 class="m-portlet__head-text">
                    模型管理
                </h3>
            </div>
        </div>
    </div>
    <div class="m-portlet__body">
        <!--begin: Search Form -->
        <div class="m-form m-form--label-align-right">
            <div class="row align-items-center">
                <div class="col-xl-12">
                    <div class="form-group m-form__group row align-items-center">
                        <div class="col-md-2">
                            <div class="col-md-11" class="m-input-icon m-input-icon--left">
                                <input type="text" class="form-control no-icon-form-control" autocomplete="off"
                                       placeholder="请输入模型名称" name="name">
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="col-md-11" class="m-input-icon m-input-icon--left">
                                <input type="text" class="form-control no-icon-form-control" autocomplete="off"
                                       placeholder="请输入创建人" name="createuser">
                            </div>
                        </div>
                        <div class="col-md-4">
                            <button class="btn btn-brand m-btn" id="m_search">
                                查询
                            </button>
                            <button class="btn btn-brand m-btn m-btn--icon" id="m_add" style="margin-left: 10px">
                                新增
                            </button>
                            <button class="btn btn-brand m-btn" id="editBtn" name="editBtn" style="margin-left: 10px">
                                修改
                            </button>
                            <button class="btn btn-brand m-btn" id="deleteBtn" name="deleteBtn" style="margin-left: 10px">
                                批量删除
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--end: Search Form -->
        <!--begin: Datatable -->
        <div class="m_datatable" id="user_data"></div>
        <!--end: Datatable -->
    </div>
</div>
<jsp:include page="/assets/common/print/common-print.jsp" />
<jsp:include page="/assets/common-js.jsp" />
<script src="<%=request.getContextPath()%>/model/js/model-listPage.js"></script>
</body>
<script id="editHtml" type="text/html">
    <div class="m-form m-form--fit m-form--label-align-right layer-div  layui-form"  id ="user-form">
        <div class="m-portlet__body">
            <input type="hidden" id="edit_id">
            <div class="form-group m-form__group row userid" autocomplete="off">
                <label class="col-lg-3 col-form-label">
                    模型名称 <font color="red">*</font>
                </label>
                <div class="col-lg-8">
                    <input type="text" id ="modelName" name="modelName"
                           class="form-control" required lay-verify="required" placeholder="请输入模型名称">
                </div>
            </div>
            <div class="form-group m-form__group row">
                <label class="col-lg-3 col-form-label">
                    备注 <font color="red">*</font>
                </label>
                <div class="col-lg-8">
                    <input type="text" id ="mark" name="mark" autocomplete="off"
                           class="form-control" required lay-verify="required|username" placeholder="请输入备注">
                </div>
            </div>
            <div class="m-portlet__foot m-portlet__foot--fit">
                <div class="m-form__actions m-form__actions">
                    <div class="row">
                        <div class="col-lg-12 ml-lg-auto">
                            <button id="edit_cancle" class="btn btn-secondary m--pull-right" style="border-radius: 25px">
                                取消
                            </button>
                            <button id="edit_yes" lay-submit lay-filter="save_user" class="btn btn-brand m--pull-right">
                                保存
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</script>
</html>